<!DOCTYPE html><html lang="zh-Hans"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"><meta name="description" content="huluo的技术博客"><meta name="keywords" content=""><meta name="author" content="kyren"><meta name="copyright" content="kyren"><title>Stay hungry, stay foolish | Kyren's Blog</title><link rel="shortcut icon" href="/melody-favicon.ico"><link rel="stylesheet" href="/css/index.css?version=1.9.0"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css?version=1.9.0"><meta name="format-detection" content="telephone=no"><meta http-equiv="x-dns-prefetch-control" content="on"><link rel="dns-prefetch" href="https://cdn.jsdelivr.net"><link rel="dns-prefetch" href="https://hm.baidu.com"><script>var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?cf87fcdbd9ab7cf93d894f7c219ae78f";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();</script><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><script src="https://v1.hitokoto.cn/?encode=js&amp;charset=utf-8&amp;select=.footer_custom_text" defer></script><script>var GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"search.xml","languages":{"hits_empty":"找不到您查询的内容:${query}"}},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  hexoVersion: '6.2.0'
} </script><meta name="generator" content="Hexo 6.2.0"></head><body><i class="fa fa-arrow-right" id="toggle-sidebar" aria-hidden="true"></i><div id="sidebar" data-display="false"><div class="author-info"><div class="author-info__avatar text-center"><img src="https://avatars.githubusercontent.com/u/5827823?v=4"></div><div class="author-info__name text-center">kyren</div><div class="author-info__description text-center">huluo的技术博客</div><div class="follow-button"><a target="_blank" rel="noopener" href="https://github.com/huluo666">Follow Me</a></div><hr><div class="author-info-articles"><a class="author-info-articles__archives article-meta" href="/archives"><span class="pull-left">文章</span><span class="pull-right">239</span></a><a class="author-info-articles__tags article-meta" href="/tags"><span class="pull-left">标签</span><span class="pull-right">41</span></a><a class="author-info-articles__categories article-meta" href="/categories"><span class="pull-left">分类</span><span class="pull-right">29</span></a></div><hr><div class="author-info-links"><div class="author-info-links__title text-center">Links</div><a class="author-info-links__name text-center" target="_blank" rel="noopener" href="http://192.168.2.212:9090/">Jira</a><a class="author-info-links__name text-center" target="_blank" rel="noopener" href="http://192.168.2.212:8090/">Confluence</a><a class="author-info-links__name text-center" target="_blank" rel="noopener" href="http://bloc.leniugame.com/">Leniu</a></div></div></div><nav class="no-bg" id="nav"><div id="page-header"><span class="pull-left"> <a id="site-name" href="/">Kyren's Blog</a></span><i class="fa fa-bars toggle-menu pull-right" aria-hidden="true"></i><span class="pull-right menus">   <a class="site-page" href="/">主页</a><a class="site-page" href="/essay">随笔</a><a class="site-page" href="/archives">归档</a><a class="site-page" href="/tags">标签</a><a class="site-page" href="/categories">分类</a><a class="site-page" href="/about">关于</a></span><span class="pull-right"><a class="site-page social-icon search"><i class="fa fa-search"></i><span> 搜索</span></a></span></div><div id="site-info"><div id="site-title">Kyren's Blog</div><div id="site-sub-title">Stay hungry, stay foolish</div><div id="site-social-icons"><a class="social-icon" href="https://github.com/huluo666" target="_blank" rel="noreferrer noopener nofollow"><i class="fa-github fa"></i></a></div></div></nav><div id="content-outer"><div class="layout" id="content-inner"><div class="recent-post-item article-container"><a class="article-title" href="/2017/03/20/%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E4%BD%BF%E7%94%A8/">正则表达式使用</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-03-20</time><span class="article-meta"><span class="article-meta__separator">|</span><i class="fa fa-inbox article-meta__icon" aria-hidden="true"></i><a class="article-meta__categories" href="/categories/%E5%B7%A5%E5%85%B7/">工具</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/%E5%B7%A5%E5%85%B7/">工具</a></span><div class="content">1234小写  a-z大写  A-Z汉字  \u4E00-\u9FA5数字  \u0030-\u0039

正则表达式”[a-zA-Z]+”代表什么含义?
a-z是所有小写字母 A-Z是所有大写字母[a-zA-Z]+ 这个就是一个不分大小写字母的英文单词（无限字母） 最少是一个字母
表1.常用的元字 ...</div><a class="more" href="/2017/03/20/%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E4%BD%BF%E7%94%A8/#more" style="margin-top: 14px">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/2017/03/19/shell%E8%87%AA%E5%8A%A8%E6%89%93%E5%8C%85IPA/">shell自动打包IPA</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-03-19</time><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/iOS/">iOS</a></span><div class="content">自动打包ipa，测试发现时间和用xcode打包差不多，但可以减少鼠标点击操作。
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596 ...</div><a class="more" href="/2017/03/19/shell%E8%87%AA%E5%8A%A8%E6%89%93%E5%8C%85IPA/#more" style="margin-top: 14px">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/2017/03/16/iOS%E5%A6%82%E4%BD%95%E9%AB%98%E6%95%88%E7%8E%87%E5%BC%80%E5%8F%91/">iOS如何进行高效率开发</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-03-16</time><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/iOS/">iOS</a></span><div class="content">1.高效的利用工具开发人员的Mac应用速查表
iOS 高效率编程工具篇
2.使用Xcode模板，Code Snippets，代码生成工具固定的代码不要浪费时间一行一行敲了，使用模板不会出错而且规范。
iOS自定义Xcode模板
代码生成工具如
JSONExport  —直接将json数据转成mode ...</div><a class="more" href="/2017/03/16/iOS%E5%A6%82%E4%BD%95%E9%AB%98%E6%95%88%E7%8E%87%E5%BC%80%E5%8F%91/#more" style="margin-top: 14px">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/2017/02/28/Markdown%E6%8A%80%E5%B7%A7/">Markdown语法学习备忘</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-02-28</time><div class="content">来源于以下文章
献给写作者的 Markdown 新手指南
Markdown 语法手册 （完整整理版）
123456# 一级标题## 二级标题### 三级标题#### 四级标题##### 五级标题###### 六级标题


斜体和粗体

1234*斜体*或_斜体_**粗体*****加粗斜体***~~删 ...</div><a class="more" href="/2017/02/28/Markdown%E6%8A%80%E5%B7%A7/#more" style="margin-top: 14px">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/2017/02/28/hexo-admin%E4%BD%BF%E7%94%A8%E6%B5%8B%E8%AF%95/">hexo-admin使用测试</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-02-28</time><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/%E6%B5%8B%E8%AF%95/">测试</a></span><div class="content">​	使用hexo-admin插件在线写博客，可以和简书一样方便吗。文章的编辑窗口是类似Mou的双栏，书写和预览效果。使用hexo-admin写博客，不用进行额外的保存。这款插件每隔几秒钟就会自动保存一次。
结论：测试效果还行，不如简书编辑器那样集成了markdown常用功能，但可以同步预览，还是可以 ...</div><a class="more" href="/2017/02/28/hexo-admin%E4%BD%BF%E7%94%A8%E6%B5%8B%E8%AF%95/#more" style="margin-top: 14px">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/2017/02/28/Markdown-%E6%96%87%E6%9C%AC%E7%BC%96%E8%BE%91%E5%99%A8/">Markdown 文本编辑器</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-02-28</time><div class="content">免费[Typora][1] -免费极简编辑器,非常好用，付费都值得https://boostnote.io -为程序员量身定做的笔记应用
Marboo笔记   提供文档管理
MWeb 提供文档管理
Versatil Markdown
付费
[Ulysses][2]支持OS X , iPad，售价 2 ...</div><a class="more" href="/2017/02/28/Markdown-%E6%96%87%E6%9C%AC%E7%BC%96%E8%BE%91%E5%99%A8/#more" style="margin-top: 14px">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/2017/02/28/hexo-admin%E7%9A%84%E4%BD%BF%E7%94%A8/">hexo-admin的使用</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-02-28</time><div class="content">Hexo博客引擎的管理用户界面。基于 Ghost 界面，灵感来自svbtle和prose.io。
本地使用vs部署
这个插件最初是作为本地编辑器设计的 - 您在本地运行hexo，用于hexo-admin创作帖子，然后使用hexo generate或hexo deploy将生成的静态HTML文件发送到 ...</div><a class="more" href="/2017/02/28/hexo-admin%E7%9A%84%E4%BD%BF%E7%94%A8/#more" style="margin-top: 14px">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/2017/02/13/shell%E6%96%87%E4%BB%B6%E6%9F%A5%E6%89%BEfind%E5%91%BD%E4%BB%A4/">Mac开发路径选择</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-02-13</time><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/iOS/">iOS</a></span><div class="content">这条命令可以搜索Library文件夹中所有plist文件。find 基本用法
常用的文件查找命令主要有locate和find。
find path -name &quot;(字符，可以用wildcard)&quot;
默认情况下搜寻path以及其所有子目录下的文件。
举例find 文件路径 参数
1 ...</div><a class="more" href="/2017/02/13/shell%E6%96%87%E4%BB%B6%E6%9F%A5%E6%89%BEfind%E5%91%BD%E4%BB%A4/#more" style="margin-top: 14px">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/2017/02/10/%E4%BD%BF%E7%94%A8express%E5%88%9B%E5%BB%BA%E8%87%AA%E5%B7%B1%E7%AC%AC%E4%B8%80%E4%B8%AAnodejs%E7%A8%8B%E5%BA%8F/">使用express创建自己第一个nodejs程序</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-02-10</time><span class="article-meta"><span class="article-meta__separator">|</span><i class="fa fa-inbox article-meta__icon" aria-hidden="true"></i><a class="article-meta__categories" href="/categories/Node-js/">Node.js</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/Node-js/">Node.js</a></span><div class="content">1.安装Express
12npm install express -gnpm install express-generator -g

说明：express是web框架
​	Express-generator （Express 应用生成器）,通过该工具，可以快速创建一个express应用的骨架。 ...</div><a class="more" href="/2017/02/10/%E4%BD%BF%E7%94%A8express%E5%88%9B%E5%BB%BA%E8%87%AA%E5%B7%B1%E7%AC%AC%E4%B8%80%E4%B8%AAnodejs%E7%A8%8B%E5%BA%8F/#more" style="margin-top: 14px">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/2017/02/10/%E4%BD%BF%E7%94%A8express%E5%88%9B%E5%BB%BA%E8%87%AA%E5%B7%B1%E7%AC%AC%E4%B8%80%E4%B8%AAnodejs%E7%A8%8B%E5%BA%8F%E4%BA%8C/">使用express创建自己第一个nodejs程序二</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2017-02-10</time><span class="article-meta"><span class="article-meta__separator">|</span><i class="fa fa-inbox article-meta__icon" aria-hidden="true"></i><a class="article-meta__categories" href="/categories/Node-js/">Node.js</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/Node-js/">Node.js</a></span><div class="content">一、添加和安装依赖
package.json这个基本的JSON文件描述了我们的程序以及依赖，比如添加mongodb库，内容如下
12345678910&quot;dependencies&quot;: &#123;  &quot;body-parser&quot;: &quot;~1.16.0&qu ...</div><a class="more" href="/2017/02/10/%E4%BD%BF%E7%94%A8express%E5%88%9B%E5%BB%BA%E8%87%AA%E5%B7%B1%E7%AC%AC%E4%B8%80%E4%B8%AAnodejs%E7%A8%8B%E5%BA%8F%E4%BA%8C/#more" style="margin-top: 14px">阅读更多</a><hr></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/page/12/"><i class="fa fa-chevron-left"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/12/">12</a><span class="page-number current">13</span><a class="page-number" href="/page/14/">14</a><span class="space">&hellip;</span><a class="page-number" href="/page/24/">24</a><a class="extend next" rel="next" href="/page/14/"><i class="fa fa-chevron-right"></i></a></div></nav></div></div><footer><div class="layout" id="footer"><div class="copyright">&copy;2022 By kyren</div><div class="framework-info"><span>驱动 - </span><a target="_blank" rel="noopener" href="http://hexo.io"><span>Hexo</span></a><span class="footer-separator">|</span><span>主题 - </span><a target="_blank" rel="noopener" href="https://github.com/Molunerfinn/hexo-theme-melody"><span>Melody</span></a></div><div class="footer_custom_text">hitokoto</div><div class="busuanzi"><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><span id="busuanzi_container_site_uv"><i class="fa fa-user"></i><span id="busuanzi_value_site_uv"></span><span></span></span><span class="footer-separator">|</span><span id="busuanzi_container_site_pv"><i class="fa fa-eye"></i><span id="busuanzi_value_site_pv"></span><span></span></span></div></div></footer><i class="fa fa-arrow-up" id="go-up" aria-hidden="true"></i><script src="https://cdn.jsdelivr.net/npm/animejs@latest/lib/anime.min.js"></script><script src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-animate@latest/velocity.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-ui-pack@latest/velocity.ui.min.js"></script><script src="/js/utils.js?version=1.9.0"></script><script src="/js/fancybox.js?version=1.9.0"></script><script src="/js/sidebar.js?version=1.9.0"></script><script src="/js/copy.js?version=1.9.0"></script><script src="/js/fireworks.js?version=1.9.0"></script><script src="/js/transition.js?version=1.9.0"></script><script src="/js/scroll.js?version=1.9.0"></script><script src="/js/head.js?version=1.9.0"></script><script src="/js/search/local-search.js"></script><script>if(/Android|webOS|iPhone|iPod|iPad|BlackBerry/i.test(navigator.userAgent)) {
  $('#nav').addClass('is-mobile')
  $('footer').addClass('is-mobile')
  $('#top-container').addClass('is-mobile')
}</script><div class="search-dialog" id="local-search"><div class="search-dialog__title" id="local-search-title">本地搜索</div><div id="local-input-panel"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章"></div></div></div><hr><div id="local-search-results"><div id="local-hits"></div><div id="local-stats"><div class="local-search-stats__hr" id="hr"><span>由</span> <a target="_blank" rel="noopener" href="https://github.com/wzpan/hexo-generator-search" style="color:#49B1F5;">hexo-generator-search</a>
 <span>提供支持</span></div></div></div><span class="search-close-button"><i class="fa fa-times"></i></span></div><div class="search-mask"></div></body></html>